using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace OBUCare.Core.Models
{
    public partial class View_Transaction_Serial_Info
    {
        [DisplayName("交易编号")]
        public long TLogID { get; set; }
        [DisplayName("流水编号")]
        public Nullable<long> SERIAL_ID { get; set; }
        [DisplayName("流水单号")]
        public string SERIAL_NO { get; set; }
        [DisplayName("客户编号")]
        public string USER_NO { get; set; }
        [DisplayName("客户名称")]
        public string USER_NAME { get; set; }
        [DisplayName("交易类型")]
        public int OPERATION_KIND { get; set; }
        [DisplayName("交易类型")]
        public string OPERATION_KIND_Title { get; set; }
        [DisplayName("金额(元)")]
        public Nullable<decimal> AMOUNT { get; set; }
        [DisplayName("资金来源")]
        public string FUNDINFO { get; set; }
        [DisplayName("备注")]
        public string FUND_REMARK { get; set; }
        [DisplayName("交易时间")]
        public System.DateTime RECORD_TIME { get; set; }
        [DisplayName("业务操作员")]
        public string tLogOperator { get; set; }
        [DisplayName("业务操作员")]
        public string tLogOperatorName { get; set; }
        [DisplayName("打印操作员")]
        public string SERIAL_log_Operator { get; set; }
        [DisplayName("打印操作员")]
        public string SERIAL_log_OperatorName { get; set; }
        [DisplayName("营业厅")]
        public string AGENT_NO { get; set; }
        [DisplayName("营业厅类型")]
        public string AGENT_TYPE_NO { get; set; }
        [DisplayName("营业厅")]
        public string AGENT_NAME { get; set; }
        [DisplayName("状态标志")]
        public int STATUS { get; set; }
        [DisplayName("状态")]
        public string STATE
        {
            get
            {
                switch (STATUS)
                {
                    case 1:
                        return "有效";
                    default:
                        return "无效";
                }
            }
        }
    }
}
